#!/bin/bash
{% for host in groups[hosts] %}  # 确认此处应为实际组名
      echo - {{ host }}:{{ node_exporter_port }}
{% endfor %}
